package com.gdkj.entity.stardig;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "cmf_digging_energy_record")
public class CmfDiggingEnergyRecord implements Serializable {

    private static final long serialVersionUID = -886886886L;

    @Id
    private Integer uid;

    /**
     * 钻石数量
     */
    private Integer amount;

    /**
     * 1 初次领取 2 钻石恢复 3 免费钻石 4挖掘消耗
     */
    private Integer type;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

}
